package com.lcj.odr.feign;

import com.lcj.common.util.Result;
import com.lcj.odr.controller.form.TransferForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "aoch-dr")
public interface DrServiceApi {
    /**
     * 转账
     * @param form
     * @return
     */
    @PostMapping("/wallet/income/transfer")
    public Result transfer(TransferForm form);

    @PostMapping("/wallet/income/transfers")
    public Result transfer(List<TransferForm> list);
}